/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package slcu.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.List;

/**
 * This class is used by SOAP remote services.
 *
 * @author    tito
 * @generated
 */
public class InscripcionDisciplinaSoap implements Serializable {
	public static InscripcionDisciplinaSoap toSoapModel(
		InscripcionDisciplina model) {
		InscripcionDisciplinaSoap soapModel = new InscripcionDisciplinaSoap();

		soapModel.setInscripcionId(model.getInscripcionId());
		soapModel.setNumeroDocumento(model.getNumeroDocumento());
		soapModel.setCue(model.getCue());
		soapModel.setDisciplinaId(model.getDisciplinaId());

		return soapModel;
	}

	public static InscripcionDisciplinaSoap[] toSoapModels(
		InscripcionDisciplina[] models) {
		InscripcionDisciplinaSoap[] soapModels = new InscripcionDisciplinaSoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static InscripcionDisciplinaSoap[][] toSoapModels(
		InscripcionDisciplina[][] models) {
		InscripcionDisciplinaSoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels = new InscripcionDisciplinaSoap[models.length][models[0].length];
		}
		else {
			soapModels = new InscripcionDisciplinaSoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static InscripcionDisciplinaSoap[] toSoapModels(
		List<InscripcionDisciplina> models) {
		List<InscripcionDisciplinaSoap> soapModels = new ArrayList<InscripcionDisciplinaSoap>(models.size());

		for (InscripcionDisciplina model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new InscripcionDisciplinaSoap[soapModels.size()]);
	}

	public InscripcionDisciplinaSoap() {
	}

	public long getPrimaryKey() {
		return _inscripcionId;
	}

	public void setPrimaryKey(long pk) {
		setInscripcionId(pk);
	}

	public long getInscripcionId() {
		return _inscripcionId;
	}

	public void setInscripcionId(long inscripcionId) {
		_inscripcionId = inscripcionId;
	}

	public String getNumeroDocumento() {
		return _numeroDocumento;
	}

	public void setNumeroDocumento(String numeroDocumento) {
		_numeroDocumento = numeroDocumento;
	}

	public long getCue() {
		return _cue;
	}

	public void setCue(long cue) {
		_cue = cue;
	}

	public long getDisciplinaId() {
		return _disciplinaId;
	}

	public void setDisciplinaId(long disciplinaId) {
		_disciplinaId = disciplinaId;
	}

	private long _inscripcionId;
	private String _numeroDocumento;
	private long _cue;
	private long _disciplinaId;
}